←Select platform

DropText Property

Summary

Gets or sets a value that indicates whether the text elements of the SVG should be dropped during load.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool DropText {get; set;} 
Public Property DropText As Boolean 
public bool DropText {get; set;} 
@property (nonatomic, assign) BOOL dropText 
public boolean getDropText() 
public void setDropText(boolean value) 
             
  
get_DropText(); 
set_DropText(value); 
Object.defineProperty('DropText');  
public: 
property bool DropText { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true if text elements of the SVG should be dropped during load, otherwise; false. Default value is false.

Remarks

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.

Example

For an example, refer to DropImages.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize