Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdPdf2ImageConverter::getPageSize Method
Syntax
C++
virtual OdResult getPageSize(OdGsDCRect& rect) = 0;

Gets the image size on the active page of the PDF file (in pixels for default PDF resolution 72dpi).

Parameters
Description
rect
[out] Image size.

eOk if successful; eNullPtr if no PDF file is loaded; eWrongObjectType if the source file has wrong format; eInvalidIndex if the active page index is invalid; eNullIterator if the page iterator is not set; eNotHandled if PDFium module is not enabled.

Copyright © 2002-2022. Open Design Alliance All rights reserved.