XFINIUM.PDF Documentation
BackgroundBaselineOffset Property (PdfFormattedParagraph)



Xfinium.Pdf.Graphics.FormattedContent Namespace > PdfFormattedParagraph Class : BackgroundBaselineOffset Property
Gets or sets the background baseline offset.
Syntax
'Declaration
 
Public Property BackgroundBaselineOffset As Double
'Usage
 
Dim instance As PdfFormattedParagraph
Dim value As Double
 
instance.BackgroundBaselineOffset = value
 
value = instance.BackgroundBaselineOffset
public double BackgroundBaselineOffset {get; set;}
public:
property double BackgroundBaselineOffset {
   double get();
   void set (    double value);
}

Property Value

Offset from text baseline for drawing the background.
Remarks
The offset is given in PDF points. By default the background baseline matches the text baseline. If you want to lower it so that it covers the descent part of the text, you can set it to a negative value.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFormattedParagraph Class
PdfFormattedParagraph Members