verticalResolution property
double
get
verticalResolution
Vertical Resolution of an image
//Creates a new PDF document.
PdfDocument doc = PdfDocument();
//Create a PDF image instance.
PdfImage image = PdfBitmap(imageData);
//Gets vertical resolution
double verticalResolution = image.verticalResolution;
//Draw the image.
doc.pages
.add()
.graphics
.drawImage(image, Rect.fromLTWH(0, 0, 100, 100));
//Saves the document.
List<int> bytes = doc.save();
//Dispose the document.
doc.dispose();
Implementation
double get verticalResolution;