←Select platform

MultiPageEnableMargins Property

Summary

Gets or sets a value indicating whether to ignore the margins when rendering a sheet or a page.

Syntax

C#
VB
C++
public bool MultiPageEnableMargins { get; set; } 
Public Property MultiPageEnableMargins() As Boolean 
   Get 
   Set 
public:  
   property bool MultiPageEnableMargins 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to consider the margins when rendering a sheet or a page; otherwise, false. Default value is false.

Remarks

When the value of MultiPageEnableMargins is true, the engine will use the margins set in CodecsRasterizeDocumentLoadOptions.LeftMargin, TopMargin, RightMargin and BottomMargin when rendering a sheet or page. These margins can be set using rasterCodecs.Options.RasterizeDocument.Load.

When the value of MultiPageEnableMargins is false, the margins are ignored.

Note

Margins are supported when loading XLSX files, not the legacy XLS files.

Example

For an example, refer to CodecsExcelLoadOptions.

Requirements

Target Platforms

See Also

CodecsExcelLoadOptions Class

CodecsExcelLoadOptions Members

Leadtools.Codecs Namespace

Help Version 22.0.2021.9.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.