UXP Toolkit
    Preparing search index...

    Represents a single guide in the document.

    // Create a vertical guide at 100px
    const doc = app.activeDocument;
    const guide = doc.guides.add(constants.Direction.VERTICAL, 100);
    // Access existing guides
    const doc = app.activeDocument;
    const firstGuide = doc.guides[0];
    console.log(`Guide at ${firstGuide.coordinate}px, direction: ${firstGuide.direction}`);

    23.0

    Index

    Accessors

    Methods