Add Slide Number
Add API to set up Slide Number on Slide Master:
Acceptance Criteria
- [x] I can set the slide number that is automatically added to a new slide.
- [x] I can update the font size of slide numbers.
- [x] I can update the font color of slide numbers.
- [x] I can update the location of slide numbers.
is there possible to add the font style by selected words in a sentence (for textframe property) .. Example : I can set the slide number that is automatically added to a new slide.
In one sentence I would like to add multi styles for words ..
sample : shape.TextFrame.TextRange(1,10)Font.Bold = true;
text range = 1 to 10 letters will be bold .. same like this for other styles too . bold ,Italy ,font color, background font color..etc
@DarwinRajagopalan
You can use Portions:
shape.TextFrame!.Paragraphs[0].Portions[0].Font.Bold = true;
when this #540 is completed .comment here. and please give one example how to do it.
@DarwinRajagopalan
You can use
Portions:shape.TextFrame!.Paragraphs[0].Portions[0].Font.Bold = true;
@DarwinRajagopalan, @Akshay-Warule, does it work for you or something else? Could you give a feedback please?
@DarwinRajagopalan You can use
Portions:shape.TextFrame!.Paragraphs[0].Portions[0].Font.Bold = true;@DarwinRajagopalan, @Akshay-Warule, does it work for you or something else? Could you give a feedback please?
yeah its worked
IParagraph p = textFrame!.Paragraphs.First();
p.AddPortion("Hai,");
p.AddPortion("how are you?");
p.Portions[0].Font.IsBold=true;
p.Portions[1].Font.IsBold=false;
output: Hai, how are you?
Thanks lot .. am really happy on your quick response and its worked too
Is Slide Number work is done. Can I set Slide Number to Page Number and give X , Y cordinates and Font Size, Color to Page Number. And when When new Slide get added Page Number of that slide get added Automatically . How can I do this please give some example.
Add API to set up Slide Number on Slide Master:
Acceptance Criteria
- I can set the slide number that is automatically added to a new slide.
- I can update the font size of slide numbers.
- I can update the font color of slide numbers.
here Please add X,Y cordinates, Font Size and Font Color on Slide , So We can give PageNumber at bottom.