DwfImage.GetStrings
DwfImage.GetStrings method
Gets all string values from image. Provides an opportunity to get the values of all text graphic elements present in the image in the form of an array of strings.
public override string[] GetStrings()
Return Value
The array with string values.
Examples
Retrieves values of all text graphic elements an prints it out to the console.
string file = "ExampleFile.dwf";
string[] result;
using (FileStream inStream = new FileStream(file, FileMode.Open))
using (Image image = Image.Load(inStream))
{
result = image.GetStrings();
}
foreach (string s in result)
{
Console.WriteLine(s);
}
See Also
- class DwfImage
- namespace Aspose.CAD.FileFormats.Dwf
- assembly Aspose.CAD