SvgOptions.TextAsShapes
SvgOptions.TextAsShapes property
Gets or sets a value indicating whether text must be converted as shapes. By default text will be converted to shapes, so it won’t be selectable.
public bool TextAsShapes { get; set; }
Property Value
true
if all text should be turned into SVG shapes in the convertion; otherwise, false
.
Examples
using (var img = Image.Load(file)) { CadRasterizationOptions cadRasterizationOptions = new CadRasterizationOptions(); SvgOptions opt = new SvgOptions(); opt.TextAsShapes = true; opt.VectorRasterizationOptions = cadRasterizationOptions; img.Save(outFile, opt); }
See Also
- class SvgOptions
- namespace Aspose.CAD.ImageOptions
- assembly Aspose.CAD