XFINIUM.PDF Documentation
EnableTextCopy Property



Xfinium.Pdf.Graphics Namespace > PdfUnicodeTrueTypeFont Class : EnableTextCopy Property
Gets or sets a value indicating whether the font supports text copy/paste operations.
Syntax
'Declaration
 
Public Property EnableTextCopy As Boolean
'Usage
 
Dim instance As PdfUnicodeTrueTypeFont
Dim value As Boolean
 
instance.EnableTextCopy = value
 
value = instance.EnableTextCopy
public bool EnableTextCopy {get; set;}
public:
property bool EnableTextCopy {
   bool get();
   void set (    bool value);
}

Property Value

If true the text drawn with the font can be selected, copied and pasted correctly in another applications. If false the copy/paste operations will generate garbage.
Remarks
This property must be set before drawing any text using the font otherwise the results are undefined.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfUnicodeTrueTypeFont Class
PdfUnicodeTrueTypeFont Members