Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i create new Palette Set and use the blow codes to control the size in AutoCAD but not pass if drag the pallet in AutoCAD there are gap
_PaletteSet.Size = new Size(530, 680);
_PaletteSet.Style = PaletteSetStyles.ShowAutoHideButton
| PaletteSetStyles.ShowCloseButton
| PaletteSetStyles.ShowPropertiesMenu | PaletteSetStyles.UsePaletteNameAsTitleForSingle
| PaletteSetStyles.Snappable;
_PaletteSet.DockEnabled = DockSides.Right | DockSides.Left;
_PaletteSet.MinimumSize = new Size(530, 680);
_PaletteSet.SetSize(new Size(530, 680));
_PaletteSet.Visible = true;
Solved! Go to Solution.