API Reference
Class
OfficeDocumentImageDimensions
Reads pixel dimensions from common encoded image formats without decoding pixels.
Inheritance
- Object
- OfficeDocumentImageDimensions
Methods
public static Boolean TryReadPixelDimensions(Byte[] payload, String mediaType, out Int32 width, out Int32 height) #Returns:
BooleanAttempts to read encoded image dimensions from PNG, JPEG, GIF, or BMP bytes.
Parameters
- payload System.Byte[]
- mediaType System.String
- width System.Int32@
- height System.Int32@
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object