Lists object types available for dropping from the final document.
[SerializableAttribute()]
[FlagsAttribute()]
[DataContractAttribute()]
public enum DocumentDropObjects
<SerializableAttribute(),
DataContractAttribute(),
FlagsAttribute()>
Public Enum DocumentDropObjects
public [SerializableAttribute,
DataContractAttribute,
FlagsAttribute]
enum class DocumentDropObjects sealed
Members
0x00000100 | DropShapes |
Drop shapes from the final document. |
0x00000080 | DropImages |
Drop images from the final document. |
0x00000040 | DropText |
Drop text from the final document. |
0x00000000 | None |
Add all text, images and shapes to the final document (the default value). |
The DocumentDropObjects enumeration can be used to control which object types to drop from the final document. For example, when performing OCR and using PDF as the output format, it is sometimes desirable to produce PDF files without any images in it in order to reduce the final document size or to remove any graphical area produced by the OCR engine either correctly or incorrectly. To produce PDF files without any images, set the value of PdfDocumentOptions.DropObjects to DocumentDropObjects.DropImages instead of the default value of DocumentDropObjects.None.
What happens at the location of the dropped objects in the final document depends on the format. For example, PDF supports exact insertion coordinates, and hence, dropping objects will produce a final document that matches the formatting of the input data. On the other hand, DOCX uses flow formatting and depending on whether frames are used, in the final document the remaining objects may get re-arranged to compensate for the dropped ones.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.