I'm working on a C# application to automate document creation along with some InDesign JSX, and whilst I'm setting up the classes, I understand pages can have different margins, but can they have different bleed margins as well?
No, pages cannot have different bleed margins compared to other pages in the same document. Bleed is a property of the document preferences, hence it can only be set for the document globally.
Apart from that, I also wonder why one would need to set different bleed margins on different pages?
Just wanted to follow up to @mdomino on the "why" question.Oone such example might be in the case of multiple posters for a print campaign, where one or more sizes are printed using different machines/processes, (and as such might have different bleed/crop requirements).