Vertical alignment of bullets with text

Hello,

I've taken over some code that someone else wrote and I need to modify it. I'm trying to vertically center a bullet next to text. Right now, the bullet is showing up at the BOTTOM of the text (see attachment).

Here is a code snippet where bullets are added:

Private Const BulletStyle As String = "Bullet1"
Private Const BulletSpacing As Integer = 12
Private Const BulletSize As Integer = 3

[....]

heading = New Heading(pdf, sec1, 1)

seg1 = New Segment(heading)
heading.Segments.Add(seg1)
heading.UserLabel = BulletStyle
heading.LabelWidth = BulletSpacing
heading.LabelFontSize = BulletSize
seg1.Content = RepresentativeClientEngagements.Trim

seg1.TextInfo.FontSize = 9
seg1.TextInfo.FontName = "Times New Roman"

sec1.Paragraphs.Add(heading)

Any ideas?

Thanks,

- Joe

Hello,

I think we can support a float value LabelVerticalAdjustment, you can use this attribute to set the vertical placement of label by youself. I have logged this issue as PDFNET-10153. I hope to finish the work in about 2 weeks.

Thanks.

Hi,

After further investigation on this issue, we find it is more complicate then we thought when processing heading label in MS Word. We are looking through how it works in MS Word and what the rule is. Then we will find a solution to simulate its behavior. We will try our best to send you an update before 15th, September.

Thanks for your patience and understanding.

Best regards.