Show / Hide Table of Contents

Class GeometryCollection

A Preprocessed PDF geometry collection

Inheritance
object
GeometryCollection
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public sealed class GeometryCollection : IDisposable

Methods

Dispose()

Declaration
public override sealed void Dispose()

Dispose(bool)

Declaration
[HandleProcessCorruptedStateExceptions]
protected void Dispose(bool A_0)
Parameters
Type Name Description
bool A_0

~GeometryCollection()

Declaration
protected ~GeometryCollection()

SnapToNearest(double, double, int)

return the point within the collection which is closest to the queried point. All values are in the page coordinate space.

Declaration
public Point SnapToNearest(double x, double y, int mode)
Parameters
Type Name Description
double x

the x coordinate to snap, in page coordinates

double y

the y coordinate to snap, in page coordinates

int mode

a combination of flags from the SnappingMode enumeration

Returns
Type Description
Point

a point within the collection, closest to the queried point. If the collection is empty, the queried point will be returned unchanged

SnapToNearestPixel(double, double, double, int)

return the point within the collection which is closest to the queried point. All values are in the page coordinate space.

Declaration
public Point SnapToNearestPixel(double x, double y, double dpi, int mode)
Parameters
Type Name Description
double x

the x coordinate to snap

double y

the y coordinate to snap

double dpi

the resolution of the rendered page, in pixels per inch

int mode

a combination of flags from the SnappingMode enumeration

Returns
Type Description
Point

a point within the collection, closest to the queried point. If the collection is empty, the queried point will be returned unchanged

Implements

IDisposable
In This Article
Back to top Generated by DocFX