API Reference
Struct
PageMargins
Represents page margins in points.
Inheritance
- ValueType
- PageMargins
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method PageMargins.FromCentimeters
- Method PageMargins.FromInches
- Method PageMargins.Uniform
- Method PageMargins.UniformCentimeters
- Method PageMargins.UniformInches
- Property PageMargins.Mirrored
- Property PageMargins.Moderate
- Property PageMargins.Narrow
- Property PageMargins.Normal
- Property PageMargins.Office2003Default
- Property PageMargins.Wide
- Property PdfOptions.Margins
Accepted by parameters
- Method PdfDocument.Margin
- Method PdfPageCompose.Margin
Constructors
public PageMargins(Double left, Double top, Double right, Double bottom) #Creates page margins in points.
Parameters
- left System.Double
- top System.Double
- right System.Double
- bottom System.Double
Methods
public static PageMargins FromCentimeters(Double left, Double top, Double right, Double bottom) #Returns:
PageMarginsCreates page margins in centimeters.
Parameters
- left System.Double
- top System.Double
- right System.Double
- bottom System.Double
public static PageMargins FromInches(Double left, Double top, Double right, Double bottom) #Returns:
PageMarginsCreates page margins in inches.
Parameters
- left System.Double
- top System.Double
- right System.Double
- bottom System.Double
public static PageMargins Uniform(Double points) #Returns:
PageMarginsCreates uniform page margins in points.
Parameters
- points System.Double
public static PageMargins UniformCentimeters(Double centimeters) #Returns:
PageMarginsCreates uniform page margins in centimeters.
Parameters
- centimeters System.Double
public static PageMargins UniformInches(Double inches) #Returns:
PageMarginsCreates uniform page margins in inches.
Parameters
- inches System.Double
Inherited Methods
Properties
public static PageMargins Normal { get; } #Normal Word-compatible one-inch margins.
public static PageMargins Narrow { get; } #Narrow Word-compatible half-inch margins.
public static PageMargins Moderate { get; } #Moderate Word-compatible margins.
public static PageMargins Wide { get; } #Wide Word-compatible margins.
public static PageMargins Mirrored { get; } #Mirrored Word-compatible margin preset values.
public static PageMargins Office2003Default { get; } #Word 2003 compatible default margin preset values.