[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.DestinationXYZ

Class DestinationXYZ

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

Display the page designated by page, with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom. A null value for any of the parameters left, top, or zoom specifies that the current value of that parameter is to be retained unchanged. A zoom value of 0 has the same meaning as a null value.

public class DestinationXYZ : Destination, IPdfArray, IDestination
Inheritance
object
DestinationXYZ
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Constructors

DestinationXYZ(Page, float?, float?, float?)

Initializes a new instance of the DestinationXYZ class.

public DestinationXYZ(Page page, float? left, float? top, float? zoom)

Parameters

page Page

The target page.

left float?

The left coordinate of the document window.

top float?

The top coordinate of the document window.

zoom float?

The zoom factor of the document window.

DestinationXYZ(Page, float?, float?)

Initializes a new instance of the DestinationXYZ class.

public DestinationXYZ(Page page, float? left, float? top)

Parameters

page Page

The target page.

left float?

The left coordinate of the document window.

top float?

The top coordinate of the document window.

DestinationXYZ(Page, float?)

Initializes a new instance of the DestinationXYZ class.

public DestinationXYZ(Page page, float? top)

Parameters

page Page

The target page.

top float?

The top coordinate of the document window.

DestinationXYZ(Page)

Initializes a new instance of the DestinationXYZ class.

public DestinationXYZ(Page page)

Parameters

page Page

The target page.

DestinationXYZ(int, float?, float?, float?)

Initializes a new instance of the DestinationXYZ class.

Note that if a destination is created using this constructor then all Y coordinates should be specified relative to the bottom of the page, see Destination description for details.

public DestinationXYZ(int pageIndex, float? left, float? pdfTop, float? zoom)

Parameters

pageIndex int

The target page index.

left float?

The left coordinate of the document window.

pdfTop float?

The top coordinate of the document window relative to the bottom of the page.

zoom float?

The zoom factor of the document window.

DestinationXYZ(int, float?, float?)

Initializes a new instance of the DestinationXYZ class.

Note that if a destination is created using this constructor then all Y coordinates should be specified relative to the bottom of the page, see Destination description for details.

public DestinationXYZ(int pageIndex, float? left, float? pdfTop)

Parameters

pageIndex int

The target page index.

left float?

The left coordinate of the document window.

pdfTop float?

The top coordinate of the document window relative to the bottom of the page.

DestinationXYZ(int, float?)

Initializes a new instance of the DestinationXYZ class.

Note that if a destination is created using this constructor then all Y coordinates should be specified relative to the bottom of the page, see Destination description for details.

public DestinationXYZ(int pageIndex, float? pdfTop)

Parameters

pageIndex int

The target page index.

pdfTop float?

The top coordinate of the document window relative to the bottom of the page.

DestinationXYZ(int)

Initializes a new instance of the DestinationXYZ class.

Note that if a destination is created using this constructor then all Y coordinates should be specified relative to the bottom of the page, see Destination description for details.

public DestinationXYZ(int pageIndex)

Parameters

pageIndex int

The target page index.

Properties

Left

Gets the left coordinate of the document window, if null then unchanged.

public float? Left { get; }

Property Value

float?

PdfTop

Gets the top coordinate of the document window relative to the bottom left corner, unchanged if null.

public float? PdfTop { get; }

Property Value

float?

Top

Gets the top coordinate of the document window, if null then unchanged.

If the target page of this destination was specified as an index (see PageIndex), then this property returns the Y coordinate relative to the page bottom. If the target page was specified as a page object (see Page), then this property returns the Y coordinate relative to the page top. See Destination description for details.

public float? Top { get; }

Property Value

float?

Zoom

Gets the zoom factor of the document window, unchanged if null or zero.

public float? Zoom { get; }

Property Value

float?