I have an isssue when i try to apply a style to a paragraph.
I have a document with some text with some bold words, underligned words etc...
But when i'm applying a style to the text, FontSize doesn't change, if i want to change the font, it doesn't work too.
And if the style contains bold as true for example, it will works only from the start of the paragraph to the first bold word in my document.
Same for color, italic and underlign.
Here the code where i apply the style
- Code: Select all
[...]
foreach (SPI.Section section in doc.Sections)
{
foreach (SPI.Documents.Paragraph para in section.Paragraphs)
{
para.ApplyStyle(SPI.Documents.BuiltinStyle.Title);
}
}
[...]