Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Margins Property
See Also 
Leadtools.Document Namespace > RasterDocumentOptions Structure : Margins Property




Represents the margins rectangle for the final output document

Syntax

Visual Basic (Declaration) 
Public Property Margins As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentOptions
Dim value As Rectangle
 
instance.Margins = value
 
value = instance.Margins
C# 
public Rectangle Margins {get; set;}
Managed Extensions for C++ 
public: __property Rectangle get_Margins();
public: __property void set_Margins( 
   Rectangle value
);
C++/CLI 
public:
property Rectangle Margins {
   Rectangle get();
   void set (Rectangle value);
}

Return Value

Sets and Gets the margins rectangle that will be exported

Example

Refer to SaveResultOptions example.

Remarks

This property will be used only when the RasterDocumentDocumentOptions.MarginsMode property value is RasterDocumentSelector.Predefined

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features