Hi
most of all printers they need from 0.5 inch’s in page margins so they can print the sheet without shrink it
how i can adjust the reference points position so they can have 0.5 inches margins ?
Can you please specify which Aspose product you are using to adjust the reference points for page margins?
im using Aspose.OMR
Hello, @osa8am82
Changing offset of reference points can be done with GlobalPageSettings during template generation:
var refSettings = new ReferencePointsSettings();
refSettings.Offset = new PixelOffset();
refSettings.Offset.Left = 200;
refSettings.Offset.Right = 200;
refSettings.Offset.Bottom = 200;
refSettings.Offset.Top = 200;
GlobalPageSettings settings = new GlobalPageSettings
{
FontFamily = "Arial",
FontStyle = FontStyle.Regular,
FontSize = 10,
PaperSize = PaperSize.Letter,
PageMarginLeft = (int)refSettings.Offset.Left+300,
PageMarginRight = (int)refSettings.Offset.Right+ 300,
ReferencePoints = refSettings,
};
example (174.4 KB)
Precise number of pixels can be calculated based on the default used DPI (300):
300 DPI = 300 pixels per inch.
0.5 inch = 150 pixels.