PngImageData.IsValid
Overloads
IsValid(Byte[]) | Returns a value indicating if the provides file header is valid for a PNG image. |
IsValid(String) | Returns a value indicating if the provides file extension is valid for a PNG image. |
IsValid(Byte[])
Returns a value indicating if the provides file header is valid for a PNG image.
public static bool IsValid(Byte[] header)
Shared Function IsValid(header As Byte()) As Boolean
Parameters
- header
- Byte[]
Returns
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
IsValid(String)
Returns a value indicating if the provides file extension is valid for a PNG image.
public static bool IsValid(string fileExtension)
Shared Function IsValid(fileExtension As String) As Boolean
Parameters
- fileExtension
- String
Returns
Licensing Info
This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.