Skip to content

Commit 36d10e6

Browse files
committed
260329-ug: Updated the API name.
1 parent 1947a1f commit 36d10e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ using (PdfDocument document = new PdfDocument())
749749
PdfSection section = document.Sections.Add();
750750

751751
//Initialize unit converter
752-
PdfUnitConvertor converter = new PdfUnitConvertor();
752+
PdfUnitConverter converter = new PdfUnitConverter();
753753

754754
//Convert the image size from pixel to points
755755
SizeF size = converter.ConvertFromPixels(image.PhysicalDimension, PdfGraphicsUnit.Pixel);
@@ -795,7 +795,7 @@ using (PdfDocument document = new PdfDocument())
795795
PdfSection section = document.Sections.Add();
796796

797797
//Initialize unit converter
798-
PdfUnitConvertor converter = new PdfUnitConvertor();
798+
PdfUnitConverter converter = new PdfUnitConverter();
799799

800800
//Convert the image size from pixel to points
801801
SizeF size = converter.ConvertFromPixels(image.PhysicalDimension, PdfGraphicsUnit.Pixel);
@@ -842,7 +842,7 @@ Module Program
842842
Dim section As PdfSection = document.Sections.Add()
843843

844844
' Initialize unit converter
845-
Dim converter As New PdfUnitConvertor()
845+
Dim converter As New PdfUnitConverter()
846846

847847
' Convert image size from pixels to points
848848
Dim size As SizeF = converter.ConvertFromPixels(image.PhysicalDimension, PdfGraphicsUnit.Pixel)

0 commit comments

Comments
 (0)