Export (0) Print
Expand All

Modify slice properties

You can create different export settings for each slice that your document defines. You can also change what appears in the slice, or duplicate the slice to export it in different formats (see Change what appears in a slice, Move, cut, or copy a slice, and Export a slice).

To modify slice properties

  1. Under Slice Layer in the Layers panel, make sure that the slice is visible Cc294647.3e342e41-0093-4150-afc9-309866723da0(en-us,Expression.40).png and unlocked Cc294647.b553394b-65c8-4b76-8526-5fdfe68fb2c4(en-us,Expression.40).png. Otherwise, you will not be able to modify the slice properties. If a slice is hidden, click the Toggle Visibility Cc294647.a708a6c2-5a11-4137-b962-f33438ecf19a(en-us,Expression.40).png button. If the slice is locked, click the Toggle Lock Cc294647.bc1d5d9e-0048-4d04-8efe-c9b571f71a64(en-us,Expression.40).png button.

  2. Under Slice Layer, or on the artboard, select a slice for which you want to configure the export settings.

    Slice layers in the Layers panel.

    The slice properties appear under Edit Slice in the Properties panel.

    The Edit Slice dialog box.
  3. Next to Slice name, enter a unique name for your slice. The slice name is used to name the file that will contain the exported slice. If you plan to import the file into another project (for example, into a Microsoft Expression Blend project as a resource), the name must be unique in the Expression Blend project.

  4. Next to Format, select the type of format in which you want the slice to be exported. You can select one of the following formats:

    • XAML Silverlight Canvas   Exports a single XAML file that includes all the art represented as objects in a canvas layout panel. You can import this XAML file into a Microsoft Silverlight project in Expression Blend to use as a stand-alone document (your starting XAML file, or a XAML file that is loaded programmatically), or to copy and paste objects into another XAML document.

    • XAML WPF Drawing Brush   Exports a resource dictionary that includes all the art represented as drawing brush resources. You can import this XAML file into a Windows Presentation Foundation (WPF) (WPF) project in Expression Blend and then apply the resources to brush properties of the objects in your project.

      tip noteTip

      Make sure the names that you select for your drawing brush resources differ from any resources in the Expression Blend project that will use the exported files.

    • XAML WPF Canvas   Exports a single XAML file that includes all the art represented as objects in a canvas layout panel. You can import this XAML file into a WPF project in Expression Blend to use as a stand-alone document (your startup XAML file, or a XAML file that is loaded programmatically), or to copy and paste objects into another XAML document. You can also open this file in Design view in Expression Blend, right-click any object or objects, and then make a button or a user control out of the objects by selecting the options on the Tools menu.

    • PNG   Exports the slice in .png format.

    • JPEG   Exports the slice in .jpg format.

    • GIF   Exports the slice in .gif format.

    • TIFF   Exports the slice in .tiff format.

    • BMP   Exports the slice in .bmp format. Before you export, you might want to test the quality of your image by using the Pixel Preview command on the View menu. For more information, see Enable Pixel Preview.

    • WDP (HD Photo)   Exports the slice in .wdp format.

    • PSD   Exports the slice in a .psd project file.

    • PDF   Exports the slice in .pdf format.

  5. Expand the Slice contents drop-down menu to view the art objects that were captured when you created your slice. You can omit (or hide) single objects or container objects (such as layers or group objects) by clearing the check box that appears next to the layer name.

  6. You can set additional properties depending on what you selected next to Format. For more information about these properties, see the topics under Exporting by using the Export dialog box.

See also

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft