none
Change Font of Dropcap RRS feed

  • Question

  • Hi,
     My requirement is to change the font-family of all the dropcaps in the document.
    The only way I could do this is to iterate through all paragraphs one by one and check if this has a dropcap and update the same.

    This takes a lot of time if the document has many paragraphs.
    Is there an efficient way to do this?

    Thanks,
    Nandu
    Wednesday, March 29, 2017 4:39 AM

All replies

  • Hello Nandu,

    There is no DropCaps collection; each Paragraph object contains only one DropCap object. (Please visit DropCap Object (Word) ) So there is no any other way to get the DropCap object. 

    Regards,

    Celeste


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, March 30, 2017 5:53 AM
    Moderator