Hi, Support,
I have a question that how to set pagesetup properties such as:
builder.PageSetup.LeftMargin = TPageLeft.Text
builder.PageSetup.TopMargin = TPageTop.Text
builder.PageSetup.RightMargin = TPageRight.Text
builder.PageSetup.BottomMargin = TPageBottom.Text
builder.ParagraphFormat.SpaceBefore = TParaBefore.Text
builder.ParagraphFormat.SpaceAfter = TParaAfter.Text
builder.ParagraphFormat.LineSpacing = TRowSpace.Text
Because the unit of TPageLeft.Text is centimeter not pixel/pang, how to convert the value of centimeter to pixel/pang.
for example, TPageLeft.text is 1.5 centimeter, how to convert 1.5 centimeter to 50 pixel or 40 pang?
Thanks for your help!