Aspose::Pdf::Facades::PdfPageEditor::GetPageBoxSize method

PdfPageEditor::GetPageBoxSize method

Returns size of specified box in document.

System::Drawing::Rectangle Aspose::Pdf::Facades::PdfPageEditor::GetPageBoxSize(int32_t page, const System::String &pageBoxName)
ParameterTypeDescription
pageint32_tPage index. Document pages are numbered from 1.
pageBoxNameconst System::String&Box type name. Valid values are: “art”, “bleed”, “crop”, “media”, “trim”.

ReturnValue

Rectangle which contains requested box.

See Also