public static class SaveOptions.MarginInfo extends Object
Instance of this class represents information about page margin That can be drown on some result document.
Modifier and Type | Field and Description |
---|---|
SaveOptions.MarginPartStyle |
BottomMarginIfAny
Represents bottom page margin(if any)
|
SaveOptions.MarginPartStyle |
LeftMarginIfAny
Represents left page margin(if any)
|
SaveOptions.MarginPartStyle |
RightMarginIfAny
Represents right page margin(if any)
|
SaveOptions.MarginPartStyle |
TopMarginIfAny
Represents top page margin(if any)
|
Constructor and Description |
---|
MarginInfo()
Creates instance of MarginInfo
|
MarginInfo(SaveOptions.MarginPartStyle commonMargin)
Creates instance of MarginInfo class and initializes
all elements of page margin(Top, Left, Right, Bottom)
with attributes copied from supplied margin style
|
public SaveOptions.MarginPartStyle TopMarginIfAny
Represents top page margin(if any)
public SaveOptions.MarginPartStyle RightMarginIfAny
Represents right page margin(if any)
public SaveOptions.MarginPartStyle BottomMarginIfAny
Represents bottom page margin(if any)
public SaveOptions.MarginPartStyle LeftMarginIfAny
Represents left page margin(if any)
public MarginInfo()
Creates instance of MarginInfo
public MarginInfo(SaveOptions.MarginPartStyle commonMargin)
Creates instance of MarginInfo class and initializes all elements of page margin(Top, Left, Right, Bottom) with attributes copied from supplied margin style
commonMargin
- style of margin parts that will be used for all elements of margin(left, right, top, bottom)Copyright © 2020 Aspose. All Rights Reserved.