Click or drag to resize

TextBoxAnnotationInsetArea Property

Gets or sets the inset area of the annotation. This is a way of setting margins for the annotation. The InsetArea must be fully contained within the Bounds property.

Namespace:  Atalasoft.PdfDoc.Generating.Annotations
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public PdfBounds InsetArea { get; set; }

Property Value

Type: PdfBounds
The inset area.
Setting a 4 unit margin on each side of the annotation.
textBoxAnnotation.InsetArea = textBoxAnnotation.Bounds.Expand(-4);
See Also