s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Editor Classes
ProjectPublisher
CropToSquare
chevron_left
Editor Classes
class
ProjectPublisher
Properties
data_object
Files
data_object
HasWorkshopUpload
data_object
IsWorkshopUploaded
data_object
Manifest
data_object
MissingFileCount
data_object
MissingFileSize
data_object
OnProgressChanged
data_object
TargetPackageIdent
data_object
TotalFileCount
data_object
WorkshopBytesDone
data_object
WorkshopBytesTotal
data_object
WorkshopFileCount
data_object
WorkshopTargetItemId
data_object
WorkshopUploadSize
data_object
WorkshopUploadStatus
data_object
WorkshopUrl
data_object
WorkshopWarning
Methods
functions
AddCodePackageReference
functions
AddFile
functions
GetGameSettings
functions
PrePublish
functions
Publish
functions
SetChangeDetails
functions
SetMeta
functions
SetThumbnail
functions
SetWorkshopItem
functions
SetWorkshopVisibility
functions
UploadFiles
Static Fields
crop_din
MaxPickedWorkshopTags
crop_din
WorkshopTagsMetaKey
Static Methods
functions
CanPublishFile
functions
CropToSquare
functions
FromAsset
functions
FromProject
functions
GetPublishedWorkshopItemsAsync
functions
GetWorkshopItemIdAsync
functions
GetWorkshopItemInfoAsync
functions
PlayerTags
functions
PublishesToWorkshop
functions
WorkshopTagChoices
CropToSquare
The middle of this image, cut square - Steam shows workshop items' main thumbnails square. A new bitmap.
method
static
static
Bitmap
CropToSquare
(
Bitmap
image
)
Parameters
Name
Type
Description
image
Bitmap
Returns
Type
Description
Bitmap
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.