Skip to content

Commit 4ddf7b1

Browse files
committed
260329: Resolved the given feedback.
1 parent 09fc6ae commit 4ddf7b1

File tree

1 file changed

+1
-1
lines changed
  • Images/Unit-conversion-in-image-position/.NET/Unit-conversion-in-image-position

1 file changed

+1
-1
lines changed

Images/Unit-conversion-in-image-position/.NET/Unit-conversion-in-image-position/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
PdfUnitConverter converter = new PdfUnitConverter();
1818

1919
//Convert the image size from pixel to points
20-
SizeF size = converter.ConvertFromPixels(image.PhysicalDimension, PdfGraphicsUnit.Pixel);
20+
SizeF size = converter.ConvertFromPixels(image.PhysicalDimension, PdfGraphicsUnit.Point);
2121

2222
//Set section size based on the image size
2323
section.PageSettings.Size = size;

0 commit comments

Comments
 (0)