Gets or sets a value that indicates whether any element that is not text or image in the SVG should be dropped during load.
public bool DropShapes { get; set; }
Public Property DropShapes As Boolean
public bool DropShapes {get; set;}
@property (nonatomic, assign) BOOL dropShapes
public boolean getDropShapes()
public void setDropShapes(boolean value)
<br/>get_DropShapes();<br/>set_DropShapes(value);<br/>Object.defineProperty('DropShapes');
true if any element that is not text or image in the SVG should be dropped during load, otherwise; false. Default value is false.
Creating an SVG document with text only is desired in certain scenarios. For example, if the application loads SVG document to parse the text values and store them in an external database for text search purposes, then setting the value of DropImages and DropShapes to true while leaving DropText as false will speed up the loading operation and elements not required will be discarded. This is especially useful if the original SVG document contains image elements which may use a lot of memory and disk space.
For an example, refer to DropImages.
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