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




Represents the margins mode for the final output document

Syntax

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

Return Value

A value that indicates whether the margins will be exported, and if so, whether the margins be calculated or predefined.

Example

Refer to SaveResultOptions example.

Remarks

When the value is RasterDocumentSelector.Predefined then the Margins will be used.

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