PdfButton.ImagePlacement Property

Gets or sets the image placement.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfPoint ImagePlacement { get; set; }
VB
Public Property ImagePlacement As PdfPoint
	Get
	Set

Property Value

Type: PdfPoint
The point with coordinates between 0.0 and 100.0 indicating the fraction of left-over space to allocate at the left and bottom of the image.

Remarks

Default value: { 50, 50 }.

A value of { 0, 0 } positions the image at the bottom-left corner of the annotation rectangle. A value of { 50, 50 } centers it within the rectangle. A value of { 100, 100 } positions the image at the top-right corner of the annotation rectangle. This property is used only if the PreserveImageProportions is true.

See Also