colored property
PageInfo.colored property
Returns True
if the page contains colored content.
@property
def colored(self) -> bool:
...
Examples
Shows how to check whether the page is in color or not.
doc = aw.Document(file_name=MY_DIR + 'Document.docx')
# Check that the first page of the document is not colored.
self.assertFalse(doc.get_page_info(0).colored)
See Also
- module aspose.words.rendering
- class PageInfo