예제 #1
0
 /// <summary>
 /// Converts PDF bounds to client bounds.
 /// </summary>
 /// <param name="bounds">The PDF bounds to convert.</param>
 /// <returns>The bounds of the PDF bounds in client coordinates.</returns>
 public Rectangle BoundsFromPdf(PdfRectangle bounds)
 {
     return(BoundsFromPdf(bounds, true));
 }
예제 #2
0
 /// <summary>
 /// Scroll the PDF bounds into view.
 /// </summary>
 /// <param name="bounds">The PDF bounds to scroll into view.</param>
 public void ScrollIntoView(PdfRectangle bounds)
 {
     ScrollIntoView(BoundsFromPdf(bounds));
 }